import axios from 'axios';

//获取应用列表
export function login(opt) {
  return axios.post('/login' ,opt);
}

export function getLoginInfo(opt) {
  return axios.get('/userInfo', {params: opt});
}

export function sendYzm(opt) {
  return axios.post('/sendYzmToMail', opt);
}

export function register(opt) {
  return axios.post('/register', opt);
}

export function sysLog(opt) {
  return axios.get('/sys/log/page', {params: opt});
}
